﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    namespace="Miming.Model" assembly="miming">

    <class name="Customer" table="customers">
        <id name="Id">
    		<generator class="native"/>
    	</id>
        <property name="Name"/>
        <property name="OpeningBalance"/>
        <property name="BalanceAsOf"/>
        <property name="CompanyName"/>
    	<component name="LegalName" class="Name">
	        <property name="Title"/>
	        <property name="Last" column="LastName"/>
	        <property name="First" column="FirstName"/>
	        <property name="Middle" column="MiddleName"/>
    	</component>
        <property name="BillToAddress"/>
        <property name="Contact"/>
        <property name="Phone"/>
        <property name="Fax"/>
        <property name="AltPhone"/>
        <property name="AltContact"/>
        <property name="Email"/>
        <property name="CC"/>
        <property name="Inactive"/>
    </class>

</hibernate-mapping>
